package mydatabase
{
	import mx.collections.ArrayCollection;
	import model.Person;

	public class DataBase
	{
		[Bindable]
		public var persons:ArrayCollection;
		public function DataBase()
		{
			persons = new ArrayCollection();
			var p1:Person = new Person("Emina", "emina.radmanovic@gmail.com", "female", "emina", "flex", "17 Sep 2011","11-04-1986"); 
			var p2:Person = new Person("Nevena", "nevenavv@gmail.com", "female", "nevena", "flex", "17 Sep 2011", "04-09-1985");
			var p3:Person = new Person("Pera", "pera.peric@gmail.com", "male", "pera", "flex", "17 Sep 2011", "15-03-1977");
			
			persons.addItem(p1);
			persons.addItem(p2);
			persons.addItem(p3);
		}
	}
}